package com.bocai.yuweiwangluo.bean;

import java.util.ArrayList;

/**
 * Created by admin on 2015/12/16.
 */
public class TalkDetailBean {
    /**
     * {
     "total":1,
     "page":1,
     "each":6,
     "row":
     {"id":"1","type_id":"1","title":"\u7b2c\u4e00\u6761\u4e3b\u9898",
     "content":"\u8db3\u7403\u4ff1\u4e50\u90e8","timeline":"1451961043",
     "usr_id":"1","nickname":"\u675c\u5b89\u5a1c","icon":"\/upload\/icon\/1451195562_2404.png"},
     "data":
     [
     {"id":"1","bbs_id":"1","content":"\u8db3\u7403\u4ff1\u4e50\u90e8",
     "timeline":"1451961115","usr_id":"1","nickname":"\u675c\u5b89\u5a1c",
     "icon":"\/upload\/icon\/1451195562_2404.png"}
     ]
     }

     */
   private int total;
    private int page;
    private int each;
    private Row row;
    private ArrayList<Data> data;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getEach() {
        return each;
    }

    public void setEach(int each) {
        this.each = each;
    }

    public Row getRow() {
        return row;
    }

    public void setRow(Row row) {
        this.row = row;
    }

    public ArrayList<Data> getData() {
        return data;
    }

    public void setData(ArrayList<Data> data) {
        this.data = data;
    }

    public static class Row{
        private String id;
        private String type_id;
        private String title;
        private String content;
        private String timeline;
        private String usr_id;
        private String nickname;
        private String icon;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType_id() {
            return type_id;
        }

        public void setType_id(String type_id) {
            this.type_id = type_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getTimeline() {
            return timeline;
        }

        public void setTimeline(String timeline) {
            this.timeline = timeline;
        }

        public String getUsr_id() {
            return usr_id;
        }

        public void setUsr_id(String usr_id) {
            this.usr_id = usr_id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }
    }
    public static class Data{
        private String id;
        private String bbs_id;
        private String content;
        private String timeline;
        private String usr_id;
        private String nickname;
        private String icon;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getBbs_id() {
            return bbs_id;
        }

        public void setBbs_id(String bbs_id) {
            this.bbs_id = bbs_id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getTimeline() {
            return timeline;
        }

        public void setTimeline(String timeline) {
            this.timeline = timeline;
        }

        public String getUsr_id() {
            return usr_id;
        }

        public void setUsr_id(String usr_id) {
            this.usr_id = usr_id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }
    }
}
